package com.ldl.exam.entity;

import java.util.Date;
import java.util.List;

public class StuExamPaper {
    private Integer id;

    private Integer stuId;

    private Integer examPaperId;

    private String examName;

    private Integer totalScore;

    private Integer scoreRank;

    private Integer count;

    private Date createDate;

    private List<QuestionWithBLOBs> questions;
    private List<StuExamAnswer> stuExamAnswers;

    private Stu stu;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public Integer getExamPaperId() {
        return examPaperId;
    }

    public void setExamPaperId(Integer examPaperId) {
        this.examPaperId = examPaperId;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName == null ? null : examName.trim();
    }

    public Integer getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Integer totalScore) {
        this.totalScore = totalScore;
    }

    public Integer getScoreRank() {
        return scoreRank;
    }

    public void setScoreRank(Integer scoreRank) {
        this.scoreRank = scoreRank;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public List<QuestionWithBLOBs> getQuestions() {
        return questions;
    }

    public void setQuestions(List<QuestionWithBLOBs> questions) {
        this.questions = questions;
    }

    public List<StuExamAnswer> getStuExamAnswers() {
        return stuExamAnswers;
    }

    public void setStuExamAnswers(List<StuExamAnswer> stuExamAnswers) {
        this.stuExamAnswers = stuExamAnswers;
    }

    public Stu getStu() {
        return stu;
    }

    public void setStu(Stu stu) {
        this.stu = stu;
    }
}